package py.com.fms.prd.bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import py.com.fms.fms.bean.IvaBean;
import py.com.fms.fms.bean.RefDetBean;
import py.com.fms.fms.bean.SupplierBean;

public class SuppliesBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7808045981999259854L;
	private Long id;
	private Long idEnt;
	private String cod;
	private String descrip;
	private Long tax;
	private Long idSupplier;
	private BigDecimal lastCost;
	private BigDecimal averageCost;
	private Date lastPurchDate;
	private Date startDate;
	private Long userIns;
	private Boolean status;
	private Long idSuppliesType;
//	private Long idMeasureUnit;
	private Long idBurden;
	private Long idGroup;
	private Long idFamily;
	private SuppliesTypeBean suppliesTypeData;
//	private MeasureUnitBean measureUnitData;
	private SupplierBean supplierData;
	private BurdenBean burdenData;
	private GroupBean groupData;
	private FamilyBean familyData;
	private IvaBean taxData;
		
	private RefDetBean buyTypeData;
	private Boolean operateStock;
    
	// ACCESSORS AND MUTATORS
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getIdEnt() {
		return idEnt;
	}

	public void setIdEnt(Long idEnt) {
		this.idEnt = idEnt;
	}

	public String getCod() {
		return cod;
	}

	public void setCod(String cod) {
		this.cod = cod;
	}

	public String getDescrip() {
		return descrip;
	}

	public void setDescrip(String descrip) {
		this.descrip = descrip;
	}

	public Long getTax() {
		return tax;
	}

	public void setTax(Long tax) {
		this.tax = tax;
	}

	public Long getIdSupplier() {
		return idSupplier;
	}

	public void setIdSupplier(Long idSupplier) {
		this.idSupplier = idSupplier;
	}


	public BigDecimal getLastCost() {
		return lastCost;
	}

	public void setLastCost(BigDecimal lastCost) {
		this.lastCost = lastCost;
	}

	public BigDecimal getAverageCost() {
		return averageCost;
	}

	public void setAverageCost(BigDecimal averageCost) {
		this.averageCost = averageCost;
	}

	public Date getLastPurchDate() {
		return lastPurchDate;
	}

	public void setLastPurchDate(Date lastPurchDate) {
		this.lastPurchDate = lastPurchDate;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Long getUserIns() {
		return userIns;
	}

	public void setUserIns(Long userIns) {
		this.userIns = userIns;
	}


	public Long getIdSuppliesType() {
		return idSuppliesType;
	}

	public void setIdSuppliesType(Long idSuppliesType) {
		this.idSuppliesType = idSuppliesType;
	}

	public Long getIdBurden() {
		return idBurden;
	}

	public void setIdBurden(Long idBurden) {
		this.idBurden = idBurden;
	}

	public Long getIdGroup() {
		return idGroup;
	}

	public void setIdGroup(Long idGroup) {
		this.idGroup = idGroup;
	}

	public Long getIdFamily() {
		return idFamily;
	}

	public void setIdFamily(Long idFamily) {
		this.idFamily = idFamily;
	}

	public SuppliesTypeBean getSuppliesTypeData() {
		return suppliesTypeData;
	}

	public void setSuppliesTypeData(SuppliesTypeBean suppliesTypeData) {
		this.suppliesTypeData = suppliesTypeData;
	}

	public SupplierBean getSupplierData() {
		return supplierData;
	}

	public void setSupplierData(SupplierBean supplierData) {
		this.supplierData = supplierData;
	}

	public BurdenBean getBurdenData() {
		return burdenData;
	}

	public void setBurdenData(BurdenBean burdenData) {
		this.burdenData = burdenData;
	}

	public GroupBean getGroupData() {
		return groupData;
	}

	public void setGroupData(GroupBean groupData) {
		this.groupData = groupData;
	}

	public FamilyBean getFamilyData() {
		return familyData;
	}

	public void setFamilyData(FamilyBean familyData) {
		this.familyData = familyData;
	}

	public RefDetBean getBuyTypeData() {
		return buyTypeData;
	}

	public void setBuyTypeData(RefDetBean buyTypeData) {
		this.buyTypeData = buyTypeData;
	}


	public Boolean getStatus() {
		return status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

	public void setTaxData(IvaBean taxData) {
		this.taxData = taxData;
	}

	public IvaBean getTaxData() {
		return taxData;
	}

	public void setOperateStock(Boolean operateStock) {
		this.operateStock = operateStock;
	}

	public Boolean getOperateStock() {
		return operateStock;
	}
	
}
